import React, {Component} from "react";

class Page2 extends Component {
    constructor(props){
        super(props);
        this.state = {
            data: 'jumpData'
        }
        this.handleEvent = this.handleEvent.bind(this);
    }
    handleEvent(){
        /*
        this.props.history.push("/page2", {
            dotData: {}

        });*/

        window.open('/page1');
    }
    render() {
        return (
            <div className="Page2">
                <h2>非告警页面</h2>
                <button onClick={this.handleEvent}>点击</button>
            </div>
        );
    }
}
export default Page2;